<template></template>

<script setup lang="ts">
onLoad(() => {
    const value = uni.getStorageSync('guide')
    if (value === 'true') {
        uni.switchTab({
            url: '/pages/home/home',
        })
    } else {
        uni.redirectTo({
            url: '/pages/index/guide',
        })
    }
})
</script>

<style lang="scss" scoped></style>
